Deploy the site exclusion key to computers via Group Policy

To deploy the site exclusion key to computers via Group Policy, create a Group Policy Object (GPO) and configure it for distribution.

Show/Hide all imagesClosed

  1. Press Windows + S on your keyboard to open the search box.

  2. Type Group Policy Management in the search box, then press Enter to launch it. Closed

  1. Double-click the forest to expand it, followed by Domains, and then the desired domain. Closed

  1. Right-click the organizational unit for which you want to create the GPO, select Create a GPO in this domain, and Link it here… from the shortcut menu. The New GPO dialog box appears.

  2. Type the new GPO’s name in the Name box, then click OK. The new GPO will appear in the navigation pane on the left under the organizational unit. Closed

  1. Right-click the new GPO and select Edit… from the shortcut menu to configure it for distribution. The Group Policy Management Editor console appears.

  2. Double-click the Preferences branch under Computer Configuration to expand it.

  3. Double-click the Windows Settings branch under Preferences to expand it, then select Registry. Closed

  1. Right-click Registry and select New > Registry Item from the shortcut menu. The New Registry Properties dialog box appears. Closed

  1. Type Software\IAM Cloud\Cloud Drive Mapper in the Key Path box.

  2. Type the name of the registry key in the box under Value name.

To exclude sites from being mapped to a Dynamic: SharePoint drive, type DynamicSharePointSitesSiteExclusions. To exclude sites from being mapped to a Dynamic: Microsoft Teams drive, type DynamicMicrosoftTeamsSiteExclusions.

  1. Type the path of the text file in the Value data box, including .txt at the end of the file name. This is the text file you created earlier. It lists the SharePoint sites, subsites to exclude, and subsites within excluded sites you want to keep.

  2. Click Apply, then OK to save your changes, exit the New Registry Properties dialog box, and complete deploying the site exclusion key to computers via Group Policy.

If you deploy the site exclusion key via Group Policy to a device where CDM is already running, you must restart CDM on that device for your changes to take effect.

Related topics:

Deploy the site exclusion key for users via Group Policy

Deploy the site exclusion key for users via Microsoft Intune